Skip to main content

Decode Composite QR Code

Decode Composite QR code

Decoding a composite QR code will use the same endpoints as decoding a normal Pix QR code

Request

POST 'https://apisandbox.delbank.com.br/baas/api/v2/pix/qrcode/payment-initialization'

Headers

NameDescription                            
x-delbank-api-keyRequired. API key

Body

{
"payload": "00020101021226850014br.gov.bcb.pix2563pix-h.delbank.com.br/v1/qrcode/charge3rRpryWmbSbn0FxuhHDeF4ngLE5204000053039865802BR5925HOMOLOGACAO INTEGRACAO AP6007ARACAJU62070503***63049D66"
}

Response Fields

NameTypeDescription
keystringPix key
endToEndIdstringEndToEndId for the initiated payment
correlationIdstringCorrelation identifier
transactionIdstringTransaction identifier
payerQuestionstringMessage shown to the payer
expirationTimeintegerQR code expiration time
revisionintegerRevision
allowChangeAmountbooleanIndicates whether changing amount is allowed
categoryCodestringCategory code
createdAtstringCreation datetime in UTC (ISO 8601)
capturedAtstringCapture datetime in UTC (ISO 8601)
typeenumQR code type
initiationTypeenumInitiation type
statusenumQR code status
amountnumberAmount
originalAmountnumberOriginal amount
fineAmountnumberFine amount
feesAmountnumberFees amount
discountAmountnumberDiscount amount
rebateAmountnumberRebate amount
dueDatestringDue date
paymentDeadlineintegerPayment deadline
payerobjectPayer data
payer.namestringPayer name
payer.documentstringPayer document
payer.validatebooleanIndicates whether payer validation is enabled
bankAccountRecipientobjectRecipient bank account
bankAccountRecipient.numberstringAccount number
bankAccountRecipient.branchstringBranch
bankAccountRecipient.typeenumAccount type. Domains:
PAYMENT
CURRENT
SAVING
SALARY
bankAccountRecipient.bankobjectBank info
bankAccountRecipient.bank.namestringBank name
bankAccountRecipient.bank.ispbCodestringBank ISPB code
bankAccountRecipient.holderobjectAccount holder
bankAccountRecipient.holder.namestringHolder name
bankAccountRecipient.holder.documentstringHolder document
bankAccountRecipient.holder.typeenumHolder person type
beneficiaryobjectBeneficiary account data
additionalInfosarrayAdditional information
additionalInfos.namestringName
additionalInfos.valuestringValue
recipientIdstringRecipient identifier
decodeTypeenumDecode type. Domains:
QR_CODE_STATIC
QR_CODE_IMMEDIATE
QR_CODE_DUE_DATE
RECURRENCE
RECURRENCE_STATIC
RECURRENCE_IMMEDIATE
RECURRENCE_DUE_DATE
recurrenceobjectRecurrence data
recurrence.idstringRecurrence id
recurrence.revisionintegerRecurrence revision
recurrence.journeyintegerJourney
recurrence.frequencyTypeenumFrequency type. Domains:
WEEKLY
MONTHLY
QUARTERLY
SEMIANNUAL
ANNUAL
recurrence.recurrenceStartDatestringRecurrence start date
recurrence.recurrenceEndDatestringRecurrence end date
recurrence.amountnumberAmount
recurrence.minPayerMaxAmountnumberMinimum allowed for payer's max amount
recurrence.beneficiaryobjectBeneficiary data
recurrence.beneficiary.ispbstringBeneficiary ISPB
recurrence.beneficiary.documentstringBeneficiary document
recurrence.beneficiary.namestringBeneficiary name
recurrence.debtorobjectDebtor data
recurrence.debtor.typeenumPerson type
recurrence.debtor.documentstringDebtor document
recurrence.debtor.namestringDebtor name
recurrence.contractNumberstringContract number
recurrence.contractDescriptionstringContract description
recurrence.retryCountintegerRetry count
recurrence.updatesarrayUpdate list
recurrence.updates.recurrenceStatusintegerRecurrence status
recurrence.updates.statusDateTimestringStatus datetime
recurrence.updates.createdAtstringCreated at
recurrence.updates.presentationAtstringPresentation at
recurrence.receiverPspUrlstringReceiver PSP URL

Response example

{
"key": "4a28c57d-3fdc-4d1d-99a7-38ce5e574292",
"endToEndId": "E3822485720260422135161U0X5D1POK",
"transactionId": "vcharge63c589259ef54f",
"allowChangeAmount": false,
"categoryCode": "0000",
"type": "COMPOSITE",
"amount": 100.01,
"originalAmount": 100.01,
"bankAccountRecipient": {
"number": "9999999",
"branch": "0001",
"type": "CURRENT",
"bank": {
"name": "DELBANK",
"ispbCode": "38224857"
},
"holder": {
"name": "DELCRED SOCIEDADE DE CREDITO DIRETO S.A",
"document": "38224857000168",
"type": "LEGAL"
}
},
"recipientId": "vcharge63c589259ef54f",
"decodeType": "RECURRENCE_STATIC",
"recurrence": {
"id": "RR3822485720260422ea5db4dada6",
"journey": 4,
"frequencyType": "MONTHLY",
"recurrenceStartDate": "2025-10-23",
"recurrenceEndDate": "2026-01-10",
"amount": 100.0,
"beneficiary": {
"ispb": "38224857",
"document": "03284584000162",
"name": "DELCRED SOCIEDADE DE CREDITO DIRETO S.A"
},
"debtor": {
"type": "NATURAL",
"document": "04623217035",
"name": "Ciclano da Silva"
},
"contractNumber": "1234567890ABC",
"contractDescription": "Conta de energia",
"retryCount": 1,
"updates": [
{
"recurrenceStatus": 0,
"statusDateTime": "2026-04-22T10:50:19.409Z"
}
],
"receiverPspUrl": "pix-h.delbank.com.br/v1/rec/vcharge63c589259ef54f"
}
}